[INFO] fetching crate nn 0.1.6...
[INFO] checking nn-0.1.6 against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] extracting crate nn 0.1.6 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate nn 0.1.6
[INFO] finished tweaking crates.io crate nn 0.1.6
[INFO] tweaked toml for crates.io crate nn 0.1.6 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate nn 0.1.6 on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 13 packages to latest compatible versions
[INFO] [stderr]       Adding rand v0.3.23 (available: v0.9.2)
[INFO] [stderr]       Adding time v0.1.45 (available: v0.3.41)
[INFO] [stderr]       Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6c751e3443e8e55193e631ecfcd19b38c3e663312c000c1932679fc1183f1e76
[INFO] running `Command { std: "docker" "start" "-a" "6c751e3443e8e55193e631ecfcd19b38c3e663312c000c1932679fc1183f1e76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6c751e3443e8e55193e631ecfcd19b38c3e663312c000c1932679fc1183f1e76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c751e3443e8e55193e631ecfcd19b38c3e663312c000c1932679fc1183f1e76", kill_on_drop: false }`
[INFO] [stdout] 6c751e3443e8e55193e631ecfcd19b38c3e663312c000c1932679fc1183f1e76
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 34dd9238bc2f12e593d4bf738d34194c7a3b3ea5a817a4e6a046037c869c21ca
[INFO] running `Command { std: "docker" "start" "-a" "34dd9238bc2f12e593d4bf738d34194c7a3b3ea5a817a4e6a046037c869c21ca", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking nn v0.1.6 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope
[INFO] [stdout]    --> src/lib.rs:187:24
[INFO] [stdout]     |
[INFO] [stdout] 187 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope
[INFO] [stdout]    --> src/lib.rs:187:40
[INFO] [stdout]     |
[INFO] [stdout] 187 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope
[INFO] [stdout]    --> src/lib.rs:187:24
[INFO] [stdout]     |
[INFO] [stdout] 187 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope
[INFO] [stdout]    --> src/lib.rs:187:40
[INFO] [stdout]     |
[INFO] [stdout] 187 | #[derive(Debug, Clone, RustcDecodable, RustcEncodable)]
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `NN: Encodable` is not satisfied
[INFO] [stdout]    --> src/lib.rs:269:22
[INFO] [stdout]     |
[INFO] [stdout] 269 |         json::encode(self).ok().expect("encoding JSON failed")
[INFO] [stdout]     |         ------------ ^^^^ the trait `Encodable` is not implemented for `NN`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Encodable`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T10, T11)
[INFO] [stdout]               (T11,)
[INFO] [stdout]               (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]             and 75 others
[INFO] [stdout] note: required by a bound in `rustc_serialize::json::encode`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/json.rs:390:18
[INFO] [stdout]     |
[INFO] [stdout] 390 | pub fn encode<T: ::Encodable>(object: &T) -> EncodeResult<string::String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^ required by this bound in `encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `NN: Decodable` is not satisfied
[INFO] [stdout]    --> src/lib.rs:274:27
[INFO] [stdout]     |
[INFO] [stdout] 274 |         let network: NN = json::decode(encoded).ok().expect("decoding JSON failed");
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `NN`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Decodable`:
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T10, T11)
[INFO] [stdout]               (T11,)
[INFO] [stdout]               (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]             and 71 others
[INFO] [stdout] note: required by a bound in `rustc_serialize::json::decode`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/json.rs:379:18
[INFO] [stdout]     |
[INFO] [stdout] 379 | pub fn decode<T: ::Decodable>(s: &str) -> DecodeResult<T> {
[INFO] [stdout]     |                  ^^^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:361:17
[INFO] [stdout]     |
[INFO] [stdout] 361 |             let mut layer = &mut self.layers[layer_index];
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:364:21
[INFO] [stdout]     |
[INFO] [stdout] 364 |                 let mut node = &mut layer[node_index];
[INFO] [stdout]     |                     ----^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:394:21
[INFO] [stdout]     |
[INFO] [stdout] 394 |                 let mut node_error;
[INFO] [stdout]     |                     ----^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:410:25
[INFO] [stdout]     |
[INFO] [stdout] 410 |                     let mut prev_layer_result;
[INFO] [stdout]     |                         ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `NN: Encodable` is not satisfied
[INFO] [stdout]    --> src/lib.rs:269:22
[INFO] [stdout]     |
[INFO] [stdout] 269 |         json::encode(self).ok().expect("encoding JSON failed")
[INFO] [stdout]     |         ------------ ^^^^ the trait `Encodable` is not implemented for `NN`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Encodable`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T10, T11)
[INFO] [stdout]               (T11,)
[INFO] [stdout]               (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]             and 75 others
[INFO] [stdout] note: required by a bound in `rustc_serialize::json::encode`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/json.rs:390:18
[INFO] [stdout]     |
[INFO] [stdout] 390 | pub fn encode<T: ::Encodable>(object: &T) -> EncodeResult<string::String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^ required by this bound in `encode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `NN: Decodable` is not satisfied
[INFO] [stdout]    --> src/lib.rs:274:27
[INFO] [stdout]     |
[INFO] [stdout] 274 |         let network: NN = json::decode(encoded).ok().expect("decoding JSON failed");
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `NN`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Decodable`:
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T10, T11)
[INFO] [stdout]               (T11,)
[INFO] [stdout]               (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T3, T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]               (T4, T5, T6, T7, T8, T9, T10, T11)
[INFO] [stdout]             and 71 others
[INFO] [stdout] note: required by a bound in `rustc_serialize::json::decode`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/json.rs:379:18
[INFO] [stdout]     |
[INFO] [stdout] 379 | pub fn decode<T: ::Decodable>(s: &str) -> DecodeResult<T> {
[INFO] [stdout]     |                  ^^^^^^^^^^^ required by this bound in `decode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nn` (lib test) due to 4 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:361:17
[INFO] [stdout]     |
[INFO] [stdout] 361 |             let mut layer = &mut self.layers[layer_index];
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:364:21
[INFO] [stdout]     |
[INFO] [stdout] 364 |                 let mut node = &mut layer[node_index];
[INFO] [stdout]     |                     ----^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:394:21
[INFO] [stdout]     |
[INFO] [stdout] 394 |                 let mut node_error;
[INFO] [stdout]     |                     ----^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:410:25
[INFO] [stdout]     |
[INFO] [stdout] 410 |                     let mut prev_layer_result;
[INFO] [stdout]     |                         ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nn` (lib) due to 4 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "34dd9238bc2f12e593d4bf738d34194c7a3b3ea5a817a4e6a046037c869c21ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34dd9238bc2f12e593d4bf738d34194c7a3b3ea5a817a4e6a046037c869c21ca", kill_on_drop: false }`
[INFO] [stdout] 34dd9238bc2f12e593d4bf738d34194c7a3b3ea5a817a4e6a046037c869c21ca
